<?php
namespace App\Transformers;

use App\Models\Teambition;

class TeambitionTransformer extends Transformer
{
    /**
     * @param Teambition $teambition
     * @return array
     */
    public function transform(Teambition $teambition)
    {
        return [
            'id'                => $teambition->id,
            'teambition_sign'   => $teambition->teambition_sign,
            'name'              => $teambition->name,
            'email'             => $teambition->email
        ];
    }
}
